#region

using System.Drawing;
using Class.Web.Mvc;

#endregion

namespace ThuySan.Bussiness
{
    public partial class Image : IImageContent, IImageBrushContent
    {
        private static readonly Size[] Size = new[] {new Size(80, 80), new Size(0, 0)};

        private static readonly Size[] BannerSize = new[] {new Size(678, 374)};

        #region Implementation of IImageContent

        #region IImageBrushContent Members

        public Size[] ImageBrushSize
        {
            get { return BannerSize; }
        }

        public Brush Brush
        {
            get { return Brushes.White; }
        }

        #endregion

        #region IImageContent Members

        public Size[] ImageSize
        {
            get { return Size; }
        }

        public string GetImagePrefix()
        {
            return string.Format("{0}_{1}", Id, ProductId);
        }

        #endregion

        #endregion
    }
}
